import request from '@/utils/request'

// 获取下拉框的值
export function selectAllKfSeatTable(keyWord) {
  return request({
    // url: '/wxh-cloud-rest/rest/'+getToken()+'/servicestar/selectByAdvancedSearch',
    url: '/wxh-cloud-rest/rest/RTOKEN7c82d90097583edd01388a289dffe0377e629c76/seatTable/selectAllKfSeatTable?keyWord=' + keyWord + '',
    method: 'get'
  })
}

export function adjust(data) {
  return request({
    // url: '/wxh-cloud-rest/rest/'+getToken()+'/servicestar/selectStatistical',
    url: '/wxh-cloud-rest/rest/RTOKEN7c82d90097583edd01388a289dffe0377e629c76/servicestar/adjust',
    method: 'post',
    // headers: { 'Content-Type': 'multipart/form-data' },
    data
  })
}

export function downLoad(query) {
  return request({
    url: '/wxh-cloud-rest/rest/RTOKEN7c82d90097583edd01388a289dffe0377e629c76/servicestar/downloadServiceStar',
    method: 'get',
    params: query
  })
}
